package com.programmingeyeclient.popularofficial.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;


@Data
@TableName("edu_official")
@ApiModel(value = "热门官方文档对象", description = "热门官方文档")
public class Official {
    private Integer id;         //编号
    private String title;           //标题
    private String imageurl;        //图片
    private String content;         //内容

    private Data created_at;            //创建时间

    private Data updated_at;            //更新时间

    public Official() {
    }

    public Official(Integer id, String title, String imageurl, String content, Data created_at, Data updated_at) {
        this.id = id;
        this.title = title;
        this.imageurl = imageurl;
        this.content = content;
        this.created_at = created_at;
        this.updated_at = updated_at;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImageurl() {
        return imageurl;
    }

    public void setImageurl(String imageurl) {
        this.imageurl = imageurl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Data getCreated_at() {
        return created_at;
    }

    public void setCreated_at(Data created_at) {
        this.created_at = created_at;
    }

    public Data getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(Data updated_at) {
        this.updated_at = updated_at;
    }
}
